﻿using rbac.Contracts.DTO.Input;
using rbac.Contracts.DTO.Output;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace rbac.Contracts.Interface
{
    /// <summary>
    /// 角色相关服务
    /// </summary>
    public interface IRoleService
    {
        /// <summary>
        /// 角色查询
        /// </summary>
        /// <param name="roleName"></param>
        /// <returns></returns>
        List<RoleOutput> SearchRoles(string roleName);


        int Add(RoleInput role);
        int Update(RoleInput role);
        int Delete(params int[] idList);

    }
}
